package com.example.service;

import com.example.entity.BaseEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author chentao
 * @create 2023/3/11 20:50
 * @since 1.0.0
 */
@Service
public class SysIndexServiceImpl implements SysIndexService, ObjectHandler {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void handlerAdd(Object entity) {
        logger.info("SysIndexServiceImpl handlerAdd : {}", entity.toString());
    }

    @Override
    public void handlerDelete(Object entity) {
        logger.info("SysIndexServiceImpl handlerDelete : {}", entity.toString());
    }

    @Override
    public void createIndex(BaseEntity entity) {

    }
}